using System.ComponentModel.DataAnnotations;
using WalkingTec.Mvvm.Core;
using HengTong.Model.Db.System;


namespace HengTong.ViewModel._Admin.SysSiteConfigVms
{
    public partial class SysSiteConfigTemplateVm : BaseTemplateVM
    {
        [Display(Name = "站点名称")]
        public ExcelPropety NameExcel = ExcelPropety.CreateProperty<SysSiteConfig>(x => x.Name);
        [Display(Name = "是否自定义部门编码")]
        public ExcelPropety CustomGroupCodeExcel = ExcelPropety.CreateProperty<SysSiteConfig>(x => x.CustomGroupCode);
        [Display(Name = "是否自定义岗位编码")]
        public ExcelPropety CustomJobPositionCodeExcel = ExcelPropety.CreateProperty<SysSiteConfig>(x => x.CustomJobPositionCode);
        [Display(Name = "短信登录")]
        public ExcelPropety SmsLoginExcel = ExcelPropety.CreateProperty<SysSiteConfig>(x => x.SmsLogin);
        [Display(Name = "微信登录")]
        public ExcelPropety WechatLoginExcel = ExcelPropety.CreateProperty<SysSiteConfig>(x => x.WechatLogin);
        [Display(Name = "微信小程序AppID")]
        public ExcelPropety WechatMpAppIdExcel = ExcelPropety.CreateProperty<SysSiteConfig>(x => x.WechatMpAppId);
        [Display(Name = "微信小程序AppSecret")]
        public ExcelPropety WechatMpAppSecretExcel = ExcelPropety.CreateProperty<SysSiteConfig>(x => x.WechatMpAppSecret);
        [Display(Name = "微信网站AppID")]
        public ExcelPropety WechatWebAppIdExcel = ExcelPropety.CreateProperty<SysSiteConfig>(x => x.WechatWebAppId);
        [Display(Name = "微信网站AppSecret")]
        public ExcelPropety WechatWebSecretExcel = ExcelPropety.CreateProperty<SysSiteConfig>(x => x.WechatWebSecret);
        [Display(Name = "微信网站回调地址")]
        public ExcelPropety WechatWebRedirectUriExcel = ExcelPropety.CreateProperty<SysSiteConfig>(x => x.WechatWebRedirectUri);
        [Display(Name = "微信APP应用AppID")]
        public ExcelPropety WechatAppAppIdExcel = ExcelPropety.CreateProperty<SysSiteConfig>(x => x.WechatAppAppId);
        [Display(Name = "微信APP应用AppSecret")]
        public ExcelPropety WechatAppSecretExcel = ExcelPropety.CreateProperty<SysSiteConfig>(x => x.WechatAppSecret);
        [Display(Name = "微信APP回调地址")]
        public ExcelPropety WechatAppRedirectUriExcel = ExcelPropety.CreateProperty<SysSiteConfig>(x => x.WechatAppRedirectUri);
        [Display(Name = "短信应用ID")]
        public ExcelPropety SmsAppIdExcel = ExcelPropety.CreateProperty<SysSiteConfig>(x => x.SmsAppId);
        [Display(Name = "短信服务地址")]
        public ExcelPropety SmsHostExcel = ExcelPropety.CreateProperty<SysSiteConfig>(x => x.SmsHost);
        [Display(Name = "短信密钥名称")]
        public ExcelPropety SmsSecretNameExcel = ExcelPropety.CreateProperty<SysSiteConfig>(x => x.SmsSecretName);
        [Display(Name = "短信密钥")]
        public ExcelPropety SmsSecretKeyExcel = ExcelPropety.CreateProperty<SysSiteConfig>(x => x.SmsSecretKey);
        [Display(Name = "短信模板")]
        public ExcelPropety SmsTemplateExcel = ExcelPropety.CreateProperty<SysSiteConfig>(x => x.SmsTemplate);
        [Display(Name = "阿里云OCR AppKey")]
        public ExcelPropety AliyunOcrAppKeyExcel = ExcelPropety.CreateProperty<SysSiteConfig>(x => x.AliyunOcrAppKey);
        [Display(Name = "阿里云OCR AppSecret")]
        public ExcelPropety AliyunOcrAppSecretExcel = ExcelPropety.CreateProperty<SysSiteConfig>(x => x.AliyunOcrAppSecret);
        [Display(Name = "阿里云OCR AppCode")]
        public ExcelPropety AliyunOcrAppCodeExcel = ExcelPropety.CreateProperty<SysSiteConfig>(x => x.AliyunOcrAppCode);
        [Display(Name = "租户代码")]
        public ExcelPropety TenantCodeExcel = ExcelPropety.CreateProperty<SysSiteConfig>(x => x.TenantCode);

	    protected override void InitVM()
        {
        }

    }

    public class SysSiteConfigImportVm : BaseImportVM<SysSiteConfigTemplateVm, SysSiteConfig>
    {

    }

}
